<template>
  <div class="nav-bar">
    <div class="logo"></div>
    <div class="input">
      <img src="../../assets/img/music/souso.svg" alt="">
      <input type="text" placeholder="搜索歌手、音乐">
      
    </div>
    <div class="div"></div>
  </div>
</template>

<script>

export default {
  name: '',
  data () {
    return {
      
    }
  },
  methods:{
  
}
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
 .nav-bar{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    display: flex;
    width: 100%;
    height: 44px;
    background-color: #ec2f55;
    color: #333;
    text-align: center;
    line-height: 44px;
    z-index: 1;
  }
  .logo,.div{
    width: 60px;
  }
  .input{
    flex: 1;
    
    position: relative;
  }
  .input img{
    width: 24px;
    height: 24px;
    position: absolute;
    left: 5px;
    top: 12px;
  }
  .input input{
    width: 100%;
    height: 35px;
    border-radius: 8px;
    background-color: #eee;
    padding-left: 30px;
    font-size: 14px;

  }
  .input .button{
    width: 50px;
    height: 30px;
    position: absolute;
    top: 0;
    right: 0;
    background-color:#e75572;
    margin-top: 8px;
    border-radius: 2px;
    line-height: 34px;
  }
</style>